import { LoginValues } from '@/types/data'
import request from '@/utils/request'

export const loginGetToken = (data:LoginValues) => request('/authorizations', 'post', data)
export const loginGetAuthCode = (mobile: string) => request(`/sms/codes/${mobile}`, 'get')
